package com.dms.modules.product.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 商品评论点赞实体类
 */
@Data
@Accessors(chain = true)
@TableName("product_comment_like")
@ApiModel(value = "商品评论点赞实体", description = "商品评论点赞信息")
public class ProductCommentLike {

    @ApiModelProperty("点赞ID")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("评论ID")
    private Long commentId;

    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("是否删除")
    @TableLogic
    private Integer deleted;
} 